ActiveReports 9
Listen<TModel,TValue>(TModel,Expression<Func<TModel,TValue>>,Action) Method

Performs specific action on particular property change
Syntax
'Declaration
 
Public Overloads Shared Function Listen
    (Of TModel As System.ComponentModel.INotifyPropertyChanged,
     TValue)( _
   ByVal model As TModel, _
   ByVal getter1 As System.Linq.Expressions.Expression(Of Func(Of TModel,TValue)), _
   ByVal action As System.Action _
) As System.IDisposable
public static System.IDisposable Listen<TModel,TValue>( 
   TModel model,
   System.Linq.Expressions.Expression<Func<TModel,TValue>> getter1,
   System.Action action
)
where TModel: System.ComponentModel.INotifyPropertyChanged

Parameters

model
getter1
action

Type Parameters

TModel
TValue

Return Value

IDisposable instance that unsibscribes events on Dispose
See Also

Reference

ActiveModelListenExtensions Class
ActiveModelListenExtensions Members
Overload List

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum